package com.app.business.en;

/**
 * 文件是否有效
 * @author lsh
 * @date 2019-5-30
 */
public enum FileStatus {

    YES("是", 1), NO("否", 2);

    // 成员变量
    private String name;
    private int index;

    // 构造方法
    private FileStatus(String name, int index) {
        this.name = name;
        this.index = index;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }
}
